package com.eaoa.query.pub;

import java.util.List;

import com.eaoa.base.EABaseQuery;
import com.eaoa.vo.pub.PubBilllog;

public class PubBilllogQuery extends EABaseQuery {

		public PubBilllogQuery() {
			super(PubBilllog.class);
		}
		
		public void setBilllogno(Long val){
			setEQCondition("billlogno", val);
		} 
		
		public void setBillno(Long val){
			setEQCondition("billno", val);
		} 
		
		public void setBilltype(String val){
			setEQCondition("billtype", val);
		} 
		
		public void setLogtype(String val){
			setEQCondition("logtype", val);
		} 
		
		public void setIsshow(String val){
			setEQCondition("isshow", val);
		} 
		
		public static List<PubBilllog> load(Long billno , String billtype, String logtype, String isshow){
			PubBilllogQuery query = new PubBilllogQuery();
			query.setBillno(billno);
			query.setBilltype(billtype);
			query.setLogtype(logtype);
			query.setIsshow(isshow);
			query.execute();
			return query.getResults();
		}
		

}